package o;

import android.text.TextUtils;
import com.sina.weibo.sdk.auth.WbAuthListener;
import java.util.HashMap;
import java.util.Map;

public class fnu {
    private static fnu ˋ;
    private Map<String, WbAuthListener> ॱ = new HashMap();

    private fnu() {
    }

    public static synchronized fnu ˎ() {
        fnu o_fnu;
        synchronized (fnu.class) {
            if (ˋ == null) {
                ˋ = new fnu();
            }
            o_fnu = ˋ;
        }
        return o_fnu;
    }

    public synchronized WbAuthListener ˋ(String str) {
        WbAuthListener wbAuthListener;
        if (TextUtils.isEmpty(str)) {
            wbAuthListener = null;
        } else {
            wbAuthListener = (WbAuthListener) this.ॱ.get(str);
        }
        return wbAuthListener;
    }

    public synchronized void ˎ(String str, WbAuthListener wbAuthListener) {
        if (!(TextUtils.isEmpty(str) || wbAuthListener == null)) {
            this.ॱ.put(str, wbAuthListener);
        }
    }

    public synchronized void ॱ(String str) {
        if (!TextUtils.isEmpty(str)) {
            this.ॱ.remove(str);
        }
    }

    public String ॱ() {
        return String.valueOf(System.currentTimeMillis());
    }
}
